package com.map.util;

import org.nutz.dao.entity.annotation.*;

/**
 * Created by JIAO on 2016/4/12.
 */
@Table("user")
public class User {

    @Id
    @Column("user_id")
    private int id;
    @Column("user_name")
    private String username;
    @Column
    private String password;
    @Column
    private int age;
    @Column
    private String plate;
    @Column
    private int phoneNumber;




    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public int getAge() {
        return age;
    }

    public String getPlate() {
        return plate;
    }

    public int getPhoneNumber() {
        return phoneNumber;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setPlate(String plate) {
        this.plate = plate;
    }

    public void setPhoneNumber(int phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
